﻿@using www.Controllers
@model List<www.Core.Contract.DataContract.RelaxVideoDataContract>
 @if (Model != null)
 {
     foreach (var item in Model)
     {
         <div class="clear"></div>
        <a href="~/Home/VideoDetail/@Session["Culture"]/@item.Id/@item.Tag" target="_blank">
            <div class="video">
                <div class="videotitle"><h3>@item.Name</h3></div>
                <div class="videoclip" >
                    <img  src="@string.Format("https://i.ytimg.com/vi/{0}/0.jpg",item.Code)" alt="@item.Name" title="@item.Name"/>
                </div>
               <img src="~/Design/Icon/video-icon.png" class="video-icon"/>
            </div>
          </a>
       }
     <div class="clear"></div>
      <div class="watchmore">
          <a href="~/Home/Video/@Session["Culture"]">@Utility.GetResource.GetResouceValue(Session["Culture"], "lblWatchMore")...</a>
      </div>
}                                          